package cn.machen.www.fashion.pojo;

import com.sun.org.apache.xpath.internal.operations.Or;

/**
 * 订单条目类
 */
public class OrderItem {
    private String iid;
    private int count;   //数量
    private double subtotal;  //小计
    private Order order;        //订单所有者
    private Product product;    //所要购买的商品

    public String getIid() {
        return iid;
    }

    public void setIid(String iid) {
        this.iid = iid;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public double getSubtotal() {
        return subtotal;
    }

    public void setSubtotal(double subtotal) {
        this.subtotal = subtotal;
    }

    public Order getOrder() {
        return order;
    }

    public void setOrder(Order order) {
        this.order = order;
    }

    public Product getProduct() {
        return product;
    }

    public void setProduct(Product product) {
        this.product = product;
    }
}
